using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using ThridGroup.ERP.DTO;
using Volo.Abp.Application.Services;

namespace ThridGroup.ERP.RBAC
{
    public interface IRoleServices : IApplicationService
    {
        Task<List<RoleListDto>> QueryRole();
        Task<RoleListDto> GetRoleById(int id);
        Task<int> AddRole(RoleListDto roleDto);
        Task<int> UpdateRole(RoleListDto roleDto);
        Task<bool> DeleteRole(int id);
    }
} 